#ifndef CHARACTERCLASSMODEL_H
#define CHARACTERCLASSMODEL_H

#include <QSortFilterProxyModel>

class CharacterClassModel : public QSortFilterProxyModel
{
    Q_OBJECT

public:
    explicit CharacterClassModel(QObject *parent = 0);

    virtual QModelIndex buddy(const QModelIndex &proxyIndex) const;

    virtual QVariant data(const QModelIndex &proxyIndex, int role) const;

    virtual Qt::ItemFlags flags(const QModelIndex &proxyIndex) const;

    virtual bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const;


protected:

    QVariant featureData(const QModelIndex& proxyIndex, int role) const;

};

#endif // CHARACTERCLASSMODEL_H
